package com.dwsoft.xml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author sqw
 * @version 1.0
 * @description xml table节点
 * @ClassName TableNode
 * @Date 2020/8/11
 * @since jdk1.8
 */
@Data
@EqualsAndHashCode(callSuper=true)
@XStreamAlias("table")
public class XTable extends XmlNode{

    @XStreamAsAttribute
    private String headKpi;
    //表格表头字段
    @XStreamAsAttribute
    private String field;
    //表格表头名称
    @XStreamAsAttribute
    private String name;
    //表格数据
    @XStreamAsAttribute
    private String dataKpi;
}
